/*
 * This file is part of iFlashCards (iStudy)
 */

#import <Foundation/Foundation.h>
#import <CoreFoundation/CoreFoundation.h>
#import <UIKit/UIView.h>
#import <UIKit/UITableCell.h>
#import <UIKit/UIImageAndTextTableCell.h>
#import <UIKit/UITable.h>
#import <UIKit/UITableColumn.h>
#import <UIKit/UITransitionView.h>
#import <UIKit/UINavigationBar.h>
#import <UIKit/UITextView.h>

@interface CardTransitionView : UITransitionView
{
	
}

@end

@interface DrillView : UIView
{
	NSString*						_appID;
	struct CGRect 			_rect;
	struct CGRect				_cardRect;
	UIApplication*			_app;
	
	NSMutableArray*			_cards;
	int									_cardPosition;
	int									_totalCards;
	float								_textHeightAvail;
	UINavigationBar*		_statusBar;
	
	CardTransitionView*		_cardTransition;
	
}

- (id) initWithApplication: (UIApplication*)app withAppID: (NSString*)appID withFrame: (struct CGRect)rect;
- (void) setupDrill: (NSString*)pathToSet;
- (void) makeSetBrowserActive;
- (void) nextQuestion;
- (void) backQuestion;

@end